package com.qf.day06;

import com.qf.day06.homework.Hero;
import com.qf.day06.homework.Warrior;

public class Demo02 {
    public static void main(String[] args) {
//        Fish fish = new Fish("金鱼", 1, "公");
//        System.out.println(fish);
//        fish.eat();
//        fish.swimming();
//        fish.sleep();
        Warrior 盖伦 = new Warrior("盖伦", 100, 80, 45, 80);
        System.out.println(盖伦);
        盖伦.HeroicBlows();
        Hero qewq = new Hero("qewq", 12, 34, 45);
        System.out.println(qewq);
        qewq.UnarmedAttacks();


    }
}
